package MEET.src.code;


public class User {
    private String ID;
    private String Name;
    private int Age;
    private String Upassword;
    private String Sex;
    private String Uarea;
    private String Identity;
    private String Sdept;
    private String UPower;


    // 构造函数
    public User(String ID, String Name, int Age, String Upassword, String Sex, String Uarea, String Identity, String Sdept, String UPower) {
        this.ID = ID;
        this.Name = Name;
        this.Age = Age;
        this.Upassword = Upassword;
        this.Sex = Sex;
        this.Uarea = Uarea;
        this.Identity = Identity;
        this.Sdept = Sdept;
        this.UPower = UPower;
    }

    public String getName() {
        return Name;
    }

    public String getUPower() {
        return UPower;
    }

    public String getID() {
        return ID;
    }
    public int getAge() {
        return Age;
    }

    public String getUpassword() {
        return Upassword;
    }

    public String getSex() {
        return Sex;
    }

    public String getUarea() {
        return Uarea;
    }

    public String getIdentity() {
        return Identity;
    }

    public String getSdept() {
        return Sdept;
    }

    // 添加setter方法
    public void setName(String name) {
        this.Name = name;
    }
    public void setUPower(String UPower) {
        this.UPower = UPower;
    }
    public void setAge(int age) {
        this.Age = age;
    }

    public void setSex(String sex) {
        this.Sex = sex;
    }

    public void setUarea(String uarea) {
        this.Uarea = uarea;
    }

    public void setIdentity(String identity) {
        this.Identity = identity;
    }

    public void setSdept(String sdept) {
        this.Sdept = sdept;
    }
}